package com.heima.apis.wemedia;

import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author zzy
 * @date 2022/7/27 23:18
 */
@FeignClient("leadnews-wemedia")
public interface IWmUserClient {
    @PostMapping("/wemedia/user/add")
    ResponseResult addUser(@RequestBody Map<String, String> param);

}